package com.cmcc.shared

import android.app.Application
import com.cmcc.shared.config.BaseConfig


open class BaseApplication : Application() {


    override fun onCreate() {
        super.onCreate()
        BaseConfig.syncIsDebug(this)
        instance = this
        SdkManager.setApplicationContext(this)

    }

    companion object {
        private var instance: BaseApplication? = null
        fun getInstance(): BaseApplication {
            return instance!!
        }
    }

}